/* CSS Reset for uni-app
   Based on normalize.css and tailored for uni-app */

/* Box sizing rules */
view, scroll-view, swiper, swiper-item, cover-view, 
text, movable-area, movable-view, navigator,
button, checkbox, radio, slider, picker,
picker-view, switch, textarea, input, label {
  box-sizing: border-box;
}

/* Set core body defaults */
page {
  min-height: 100%;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  font-size: 28rpx;
}

/* Remove default margin */
view, scroll-view, swiper, swiper-item, cover-view, 
text, movable-area, movable-view, navigator,
button, checkbox, radio, slider, picker,
picker-view, switch, textarea, input, label {
  margin: 0;
}

/* Make images easier to work with */
image {
  display: block;
  max-width: 100%;
}

/* Remove outline on focused elements */
:focus {
  outline: none;
}

/* Remove button styles */
button {
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  color: inherit;
  font: inherit;
  outline: none;
}

button::after {
  border: none;
}

/* Remove list styles */
ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Set form element defaults */
input, textarea, button, select {
  font: inherit;
  color: inherit;
}

/* Make textarea not resizable */
textarea {
  resize: none;
}

/* Prevent text overflow in elements */
text, view {
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Reset anchor styling */
navigator {
  color: inherit;
  text-decoration: none;
}

/* Reset scrollbar to system default */
::-webkit-scrollbar {
  width: initial;
  height: initial;
} 